package huxibianjie.com.lbscandroid.model;

import com.google.gson.annotations.SerializedName;

public class VersionModel {
    /**
     * apkUrl : http://47.93.191.232/app/app-release.apk
     * content : 更新内容为：
     * 1.需改Bug
     * <p>
     * createTime : 2018-06-29 00:00:00
     * id : 3
     * type : 1
     * version : 3.6.1
     */

    private String apkUrl;
    private String content;
    private String createTime;
    private int id;
    private int type;
    @SerializedName("version")
    private String versionName;
    private int versionCode;
    @SerializedName("forceFlag")
    private int must;

    public String getApkUrl() {
        return apkUrl;
    }

    public void setApkUrl(String apkUrl) {
        this.apkUrl = apkUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public int getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(int versionCode) {
        this.versionCode = versionCode;
    }

    public boolean isMust() {
        return must == 1;
    }

    public void setMust(int must) {
        this.must = must;
    }
}
